package com.sangmo.boot.framework.plugin.dataview.validator;

import com.sangmo.boot.framework.plugin.dataview.validator.impl.ValidationContext;
import com.sangmo.boot.framework.plugin.dataview.validator.violation.DataViolation;

import javax.validation.Validator;
import java.lang.reflect.Field;

public interface IExtraValidator {

    DataViolation validate(ValidationContext.DataFieldSource source, Object obj, Field field);
}
